<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:a4j="http://richfaces.org/a4j">
<body>
<ui:composition template="/templates/template.xhtml">
    <style type="text/css">
        .col1 { vertical-align:top; }
        .col2 { vertical-align:top; width:450px; }
    </style>
<ui:define name="body">
    <a4j:outputPanel id="legal" >
    <h:panelGrid columns="2" columnClasses="col1,col2">
        <h:panelGroup>
            <ui:include src="/config/MenuLeft.xhtml"/>
        </h:panelGroup>
        <h:panelGroup rendered="#{legalbean.nowUsedPage==1}">
            <ui:include src="/config/UploadPageRight.xhtml"/>
        </h:panelGroup>
        <h:panelGroup rendered="#{legalbean.nowUsedPage==2}">
            <ui:include src="/config/PresentationRight.xhtml"/>
        </h:panelGroup>
        <h:panelGroup rendered="#{legalbean.nowUsedPage==3}">
            <ui:include src="/config/EditConfigRight.xhtml"/>
        </h:panelGroup>
        <h:panelGroup rendered="#{legalbean.nowUsedPage==4}">
            <ui:include src="/config/DownloadRight.xhtml"/>
        </h:panelGroup>
    </h:panelGrid>
        <h:inputHidden value="#{presentationrightbean.fileName}"/>
    </a4j:outputPanel>
</ui:define>
</ui:composition>
</body>
</html>